/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.fx.employee.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * fx组织机构Entity
 * @author jyangye
 * @version 2017-10-30
 */
public class FxCompanyinfo extends DataEntity<FxCompanyinfo> {
	
	private static final long serialVersionUID = 1L;
	private String companyid;		// companyid
	private String companytype;		// companytype
	private String companyadditiontypeid;		// companyadditiontypeid
	private String companykindid;		// companykindid
	private String companycode;		// companycode
	private String contacttel;		// contacttel
	private String companyname;		// companyname
	private String principalman;		// principalman
	private String fax;		// fax
	private String email;		// email
	private String companysite;		// companysite
	private String companyaddress;		// companyaddress
	private String remark;		// remark
	private String parentcompanyid;		// parentcompanyid
	private String isstorecompany;		// isstorecompany
	private String lockgpsposition;		// lockgpsposition
	private String tongbuimssystemresult;		// tongbuimssystemresult
	private String tongbuimssystemresultmessage;		// tongbuimssystemresultmessage
	private String companylevelid;		// companylevelid
	
	public FxCompanyinfo() {
		super();
	}

	public FxCompanyinfo(String id){
		super(id);
	}

	@Length(min=1, max=32, message="companyid长度必须介于 1 和 32 之间")
	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}
	
	@Length(min=1, max=1, message="companytype长度必须介于 1 和 1 之间")
	public String getCompanytype() {
		return companytype;
	}

	public void setCompanytype(String companytype) {
		this.companytype = companytype;
	}
	
	@Length(min=0, max=32, message="companyadditiontypeid长度必须介于 0 和 32 之间")
	public String getCompanyadditiontypeid() {
		return companyadditiontypeid;
	}

	public void setCompanyadditiontypeid(String companyadditiontypeid) {
		this.companyadditiontypeid = companyadditiontypeid;
	}
	
	@Length(min=0, max=32, message="companykindid长度必须介于 0 和 32 之间")
	public String getCompanykindid() {
		return companykindid;
	}

	public void setCompanykindid(String companykindid) {
		this.companykindid = companykindid;
	}
	
	@Length(min=1, max=30, message="companycode长度必须介于 1 和 30 之间")
	public String getCompanycode() {
		return companycode;
	}

	public void setCompanycode(String companycode) {
		this.companycode = companycode;
	}
	
	@Length(min=0, max=100, message="contacttel长度必须介于 0 和 100 之间")
	public String getContacttel() {
		return contacttel;
	}

	public void setContacttel(String contacttel) {
		this.contacttel = contacttel;
	}
	
	@Length(min=1, max=50, message="companyname长度必须介于 1 和 50 之间")
	public String getCompanyname() {
		return companyname;
	}

	public void setCompanyname(String companyname) {
		this.companyname = companyname;
	}
	
	@Length(min=0, max=30, message="principalman长度必须介于 0 和 30 之间")
	public String getPrincipalman() {
		return principalman;
	}

	public void setPrincipalman(String principalman) {
		this.principalman = principalman;
	}
	
	@Length(min=0, max=30, message="fax长度必须介于 0 和 30 之间")
	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}
	
	@Length(min=0, max=30, message="email长度必须介于 0 和 30 之间")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	@Length(min=0, max=50, message="companysite长度必须介于 0 和 50 之间")
	public String getCompanysite() {
		return companysite;
	}

	public void setCompanysite(String companysite) {
		this.companysite = companysite;
	}
	
	@Length(min=0, max=200, message="companyaddress长度必须介于 0 和 200 之间")
	public String getCompanyaddress() {
		return companyaddress;
	}

	public void setCompanyaddress(String companyaddress) {
		this.companyaddress = companyaddress;
	}
	
	@Length(min=0, max=500, message="remark长度必须介于 0 和 500 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Length(min=0, max=32, message="parentcompanyid长度必须介于 0 和 32 之间")
	public String getParentcompanyid() {
		return parentcompanyid;
	}

	public void setParentcompanyid(String parentcompanyid) {
		this.parentcompanyid = parentcompanyid;
	}
	
	@Length(min=0, max=1, message="isstorecompany长度必须介于 0 和 1 之间")
	public String getIsstorecompany() {
		return isstorecompany;
	}

	public void setIsstorecompany(String isstorecompany) {
		this.isstorecompany = isstorecompany;
	}
	
	@Length(min=0, max=1, message="lockgpsposition长度必须介于 0 和 1 之间")
	public String getLockgpsposition() {
		return lockgpsposition;
	}

	public void setLockgpsposition(String lockgpsposition) {
		this.lockgpsposition = lockgpsposition;
	}
	
	@Length(min=0, max=1, message="tongbuimssystemresult长度必须介于 0 和 1 之间")
	public String getTongbuimssystemresult() {
		return tongbuimssystemresult;
	}

	public void setTongbuimssystemresult(String tongbuimssystemresult) {
		this.tongbuimssystemresult = tongbuimssystemresult;
	}
	
	@Length(min=0, max=5000, message="tongbuimssystemresultmessage长度必须介于 0 和 5000 之间")
	public String getTongbuimssystemresultmessage() {
		return tongbuimssystemresultmessage;
	}

	public void setTongbuimssystemresultmessage(String tongbuimssystemresultmessage) {
		this.tongbuimssystemresultmessage = tongbuimssystemresultmessage;
	}
	
	@Length(min=0, max=32, message="companylevelid长度必须介于 0 和 32 之间")
	public String getCompanylevelid() {
		return companylevelid;
	}

	public void setCompanylevelid(String companylevelid) {
		this.companylevelid = companylevelid;
	}
	
}